package FileStudy;

import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStream;

/**
 * 写操作的案列
 */
public class Fdemo6 {
    public static void main(String[] args) {
        try(OutputStream outputStream = new FileOutputStream("d:/test.txt")){
            outputStream.write(97);
            outputStream.write(98);
            outputStream.write(99);
        }catch (IOException e){
            e.printStackTrace();
        }
    }
}
